//
//  ZYAudienListHeaderView.m
//  AudientList
//
//  Created by zhangweiwei on 16/6/15.
//  Copyright © 2016年 Erica. All rights reserved.
//

#import "ZYAudienListHeaderView.h"

#import "ZYAudientListSortViewController.h"

@interface ZYAudienListHeaderView ()
@property (weak, nonatomic) IBOutlet UITextField *searchBar;
@property (weak, nonatomic) IBOutlet UIButton *sortBtn;

@end

@implementation ZYAudienListHeaderView

- (void)awakeFromNib
{
    [super awakeFromNib];
    
    
}

- (IBAction)sortBtnClick {
    
    ZYAudientListSortViewController *sortListVC = [[ZYAudientListSortViewController alloc] initWithTargetView:self sortItems:@[@"sdfdsf", @"sdsdss", @"dsfdsfs"]];
    
    [[UIApplication sharedApplication].keyWindow.rootViewController presentViewController:sortListVC animated:YES completion:nil];
    
}
@end
